POV-Ray : Newsgroups : povray.animations : animation: streching of a cylinder : Re: animation: streching of a cylinder Server Time
6 Oct 2024 10:37:16 EDT (-0400)
  Re: animation: streching of a cylinder  
From: Tanju Gurel
Date: 19 Mar 2002 06:54:31
Message: <3c9726f7@news.povray.org>
I have a sphere(atom)
it animates from <1,1,1> to <1.2,1,1>
and want cylinder(bond) to follow it...
from <0,0,0> to <1,1,1>
to
from <0,0,0> to <1.2,1,1>

thanks...
Tanju


news:3C970FAE.7F6390AA@atosorigin.com...
> Tanju Gurel wrote:
> >
> > hi....
> > i have a cylinder...
> > for example
> > from <0,0,0> to <1,1,1>
> > and i want it to animate to
> > <0,0,0> to <2,2,2>
> > one side of the cylinder will stay.....
> > can you help me?
>
> #local where_it_end = <1,1,1>+clock;
> /* or whatever you want as function which please you */
> cylinder { 0, where_it_end,0.1 }
>
>
> Then simply use +KI0 +KF1 +KFI1 +KFF50 on the command line or .ini
> for a 50 frames rendering in which the cylinder extend from <1,1,1> to
<2,2,2>.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.